package com.bestcem.xm.txtanls.controller.vo.keyword;

import com.bestcem.xm.txtanls.controller.vo.topic.TopicVO;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author liheng
 * @version v2.0
 * @date 2021/8/6 13:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KeywordCountVO {

    /**
     * 关键词名称
     */
    @JsonProperty(value = "name")
    private String name;

    /**
     * 关键词在原话中的提及量
     */
    @JsonProperty(value = "num")
    private Integer count;

    /**
     * 关键词在原话中的提及率
     */
    @JsonProperty(value = "radio")
    private Double radio;

    /**
     * 话题信息list
     */
    @JsonProperty(value = "topics")
    private List<TopicVO> topics;
}
